package com.example.demo.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.security.Timestamp;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Reservation {

  private long id;
  private String name;
  private String e_mail;
  private String phone;
  @DateTimeFormat(pattern = "MM/dd/yyyy")
  private Date time;
  private String staeid;


}
